package com.wh.accesscontrol.entity;

import java.util.Date;

public class Total {
    private Integer id;

    private Integer studentid;

    private Integer stadiumid;

    private Integer type;

    private Integer sum;

    private Integer unit;

    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public Integer getStadiumid() {
        return stadiumid;
    }

    public void setStadiumid(Integer stadiumid) {
        this.stadiumid = stadiumid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Total{" +
                "id=" + id +
                ", studentid=" + studentid +
                ", stadiumid=" + stadiumid +
                ", type=" + type +
                ", sum=" + sum +
                ", unit=" + unit +
                ", time=" + time +
                '}';
    }
}